package com.onehouse.domain.room.repository;

import com.onehouse.domain.room.model.RoomTypeEntity;

import java.util.List;
import java.util.Optional;

public interface IRoomTypeRepository {
    RoomTypeEntity save(RoomTypeEntity roomType);
    Optional<RoomTypeEntity> findById(Long typeId);
    List<RoomTypeEntity> findAll();
    void deleteById(Long typeId);
    boolean existsByTypeName(String typeName);
}
